@charset "utf-8";

/* 引入重置样式 */

@import "reset";

/* REM */

@function r($px) {
    @return ($px/40) * 1rem;
}


/* 减半 */

@function half($px) {
    @return ($px/2) * 1px;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

html,
body {
    height: 100%;
    position: relative;
}


/* 头部 */

header {
    position: absolute;
    top: 0;
    width: r(750);
    height: half(150);
    //  background: red;
    padding: half(17) half(23) half(10);
    box-sizing: border-box;
    .logo {
        width: half(123);
        height: half(123);
        overflow: hidden;
        a {
            display: block;
            width: 100%;
            height: 100%;
        }
        img {
            width: 100%;
        }
    }
    .searchBar {
        margin: half(36) auto 0;
        width: r(266);
        height: half(51);
        border: 1px solid #ff9344;
        border-radius: half(51);
        overflow: hidden;
        input[type="search"] {
            width: calc( 100% - 35px);
            height: 100%;
            vertical-align: top;
            border: none;
            padding-left: 12px;
            font-size: 12px;
        }
        input[type="image"] {
            height: half(36);
            vertical-align: top;
            margin-top: 4px;
        }
    }
    .selectBar {
        margin-top: half(31);
        width: half(159);
        height: half(56);
        border: solid 1px #ff9344;
        background-image: url(../img/dsj.png);
        background-repeat: no-repeat;
        background-position: right 4px center;
        background-size: 15px 8px;
        select {
            padding-left: 8px;
            -webkit-appearance: none;
            appearance: none;
            border: none;
            width: 100%;
            height: 100%;
            display: block;
            background: transparent;
        }
    }
}

section {
    position: absolute;
    width: r(750);
    top: half(150);
    bottom: half(135);
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    .lunbo {
        width: r(750);
        img {
            width: 100%;
        }
    }
}

.youhuituangou {
    width: r(708);
    margin-top: 36px;
    margin-left: 8px;
    .tuangoutop {
        width: r(708);
    }
}

.tuangoutop div:first-child {
    display: inline-block;
    width: half(78);
    vertical-align: bottom;
    img {
        width: 100%;
    }
}

.tuangoutop div:nth-child(2) {
    display: inline-block;
    width: half(150);
    font-size: 16px;
    line-height: 27px;
    vertical-align: top;
    line-height: 42px;
}

.tuangoutop div:nth-child(4) {
    display: inline-block;
    width: half(80);

    font-size: 20px;
    vertical-align: top;
    a{
        color: #000000;
    }
}

.tuangoutop div:nth-child(3) {
    vertical-align: top;
    display: inline-block;
    width: half(25);
    line-height: 25px;
    img {
        width: 100%;
    }
}

.youhuitwo {
    width:100%;
    div {
        width:42%;
    
        img {
            width: 100%;
        }
    }
}

.youhuitwo div:nth-child(1),
.youhuitwo div:nth-child(3) {
        margin-left:r(49);
        margin-top:12px;
}

.youhuitwo div:nth-child(2),
.youhuitwo div:nth-child(4) {
        margin-right:r(49);
        margin-top: 12px;;
}

.guess {
    width: r(708);
    margin-top: 36px;
    margin-left: 8px;
}

.like {
    box-sizing: border-box;
    width: r(717);
    margin-top: half(32);
    .likeleft {
        display: inline-block;
        //      height: half(164);
        width:r(211);
        img {
            width: 100%;
        }
    }
}

.likeright {
    display: inline-block;
    width:r(487);
    vertical-align: top;
}

.wansui {
    display: inline-block;
    width: r(285);
    font-size:13px;
}

.juli {
    width:r(71);
    display: inline-block;
    font-size: 15px;
    padding-left:r(88);
}

.twopepel {
    font-size: 14px;
    line-height: 24px;
}

.money {
    display: inline-block;
    width:r(107);
    color: #FF9344;
}

.shuliang {
    display: inline-block;
    width: r(362);
    font-size: 13px;
    text-align: right;
}